package com.example._03vehicle.mapper;

import com.example._03vehicle.pojo.dto.VehicleListQuery;
import com.example._03vehicle.pojo.entity.Vehicle;
import com.example._03vehicle.pojo.vo.VehicleListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
  int  insertByVehicle(Vehicle vehicle);
  List<VehicleListVo> listVehicle(VehicleListQuery vehicleListQuery);
  int deleteVehicle(@Param("id") Long id, @Param("userId") Long userId);
}
